package com.navi.loaddata.core.util;

//import com.navi.core.gpEntity.MppLayoutPnlD;
//import com.navi.rtm.exception.CorrdTransformException;
//import com.navi.rtm.exception.PointRranException;

import com.navi.loaddata.core.gpEntity.MppLayoutPnlD;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @auther Matthew
 * @Date 2018/3/24
 */
public interface CoordTransformService {
  Map<String, Double> big2small(String panelId, List<MppLayoutPnlD> layoutPnlDS, Double glassX, Double glassY) throws CorrdTransformException;
  Map<String, Double> small2big(String panelId, Integer panelNo, List<MppLayoutPnlD> layoutPnlDS, Double data, Double gate) throws CorrdTransformException;
  Map<String, Double> smallDg2smallXy(String PanelId, Integer panelNo, List<MppLayoutPnlD> layoutPnlDS, Double data, Double gate) throws CorrdTransformException;

  HashMap<String,String> getDefectTypeMap(String panelId, Integer panelNo, List<MppLayoutPnlD> layoutPnlDS, Long s, Long g, String type, String orientation, String sG);
}

